using System;

namespace LightPersist
{
	public class WriteRequestedEventArgs : EventArgs
	{
		private readonly ModelBase _item;

		public WriteRequestedEventArgs(ModelBase item)
		{
			_item = item;
			IsAllowed = true;
		}
		public bool IsAllowed { get; set; }

		public ModelBase Item { get { return _item; } }
	}
}